package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("树型结构vo")
public class TreeVo {
    /**
     * 封装id值
     */
    @ApiModelProperty("封装id值")
    private String value;

    @ApiModelProperty("封装楼层名称/房间编号/床位编号")
    private String label;

    @ApiModelProperty("子节点列表")
    private List<TreeVo> children;
}
